package com.yuke.cloud.service.api.omc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel(value="com.yuke.cloud.service.omc.entity.OdsTeam")
@Data
public class OdsTeamSpecInfoDto {
    /**
     * 团购ID
     */
    @ApiModelProperty(value="teamId团购ID")
    private Long teamId;

    /**
     * 团长ID
     */
    @ApiModelProperty(value="userId团长ID")
    private Long userId;

    private String userName;
    /**
     * 仓库ID
     */
    @ApiModelProperty(value="warehouseId仓库ID")
    private Long warehouseId;

    private String warehouseName;
    /**
     * 库存ID
     */
    @ApiModelProperty(value="storageId库存ID")
    private Long storageId;

    /**
     * 商品ID
     */
    @ApiModelProperty(value="specId商品ID")
    private Long specId;

    private String specName;

    private String picUrl;

    private Integer stockPrice;

    private Long saleCount;

    /**
     * 团购主题
     */
    @ApiModelProperty(value="teamName团购主题")
    private String teamName;
    /**
     * 开团时间
     */
    @ApiModelProperty(value="beginTime开团时间")
    private Date beginTime;

    /**
     * 截止时间
     */
    @ApiModelProperty(value="endTime截止时间")
    private Date endTime;

    /**
     * 类型：1拼单购，2团购
     */
    @ApiModelProperty(value="teamType类型：1拼单购，2团购")
    private Byte teamType;

    /**
     * 状态：0准备，1开始，2成功，3结束
     */
    @ApiModelProperty(value="teamStatus状态：0准备，1开始，2成功，3结束")
    private Byte teamStatus;

    private Date nowDate;

    /**
     * 成团件总数要求
     */
    @ApiModelProperty(value="teamNum成团件总数要求")
    private Integer teamNum;

    /**
     * 成团总金额
     */
    @ApiModelProperty(value="teamMoney成团总金额")
    private Integer teamMoney;

    /**
     * 个人最小购物数
     */
    @ApiModelProperty(value="minNum个人最小购物数")
    private Integer minNum;

    /**
     * 个人最低购物金额
     */
    @ApiModelProperty(value="minMoney个人最低购物金额")
    private Integer minMoney;

    private List<OdsTeamSpecIntentDto> odsTeamIntentDtoList;
}